﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HurSimLib
{
    public class HurServiceProcess : HurProcessBase
    {
        /// <summary>
        /// This function accepts an object to the process queue (if any)
        /// after the object approves the entry. As a result, the object's process
        /// entry, process start and process end times are calculated.
        /// </summary>
        /// <param name="newobject"></param>
        public override void EnterObject(HurObject newobject)
        {

            // Calculate the service start time and inform the object
            Entryqueue.Add(newobject);
        }
    }
}